<div ms-controller="edit">
    <br/>    <br/>
    <br/>

    <div class="container">
          <div class="row" style="display: none" ms-css-display="show">
              <div class="col-sm-4">
                  <lable class="input-line-lable smooth" ms-css-margin-top="lableMT">文章标题：</lable>
                  <input type="text" class="input-line smooth article-title" ms-duplex="Title" ms-on-focus="lableJump" ms-on-blur="lableBack">
              </div>
              <div class="col-sm-4">
                  <lable class="input-lable">文章分类：</lable>
                  <select class="input-select card" ms-duplex-string="ClassID">
                      <option value="">选择分类</option>
                      <option ms-repeat="classList" ms-attr-value="el.ClassID">{{el.ClassName}}</option>
                  </select>
              </div>
              <div class="col-sm-4">
                  <a class="btn btn-block btn-success" ms-if="isPublish" ms-click="addArticle">发布</a>
                  <a class="btn btn-block btn-success" ms-if="isPublish===false" ms-click="saveTitle">保存</a>
          </div>
          </div>
          <br/>
          <div ms-widget="MDEditor,MDEditor,$opt"></div>
      </div>
</div>